<template>
  <div style="height: 50px; line-height: 50px; border-bottom: 1px solid #ccc;display: flex">
    <div style="width: 200px; padding-left: 30px; font-weight: bold; color:green">后台管理</div>
    <div style="flex: 1"></div>
    <div style="width: 150px">
      <lay-dropdown trigger="click">
        <span class="lay-dropdown-link">
          欢迎你:admin
          <lay-icon type="layui-icon-down" style="margin-left: 5px;"></lay-icon>
        </span>
        <template #content>
          <lay-dropdown-menu>
            <lay-dropdown-menu-item>个人信息</lay-dropdown-menu-item>
            <lay-dropdown-menu-item>用户登录</lay-dropdown-menu-item>
          </lay-dropdown-menu>
        </template>
      </lay-dropdown>
    </div>
  </div>
</template>

<script>
export default {
  name: "Header.vue"
}
</script>

<style scoped>
.lay-dropdown-link {
  cursor: pointer;
  color: #333;
}
</style>